﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BPM.Foundation.PWDB;
namespace BPM.Foundation.PWService
{
    public partial interface IPowerService
    {
    }

    public partial class PowerService : IPowerService
    {
        //[1.1  得到枚举常量]
        public List<SYS_Enumeration> getEnumeration(string pid)
        {
            return PWDB.SYS_Enumeration.ToList();
        }
        //-

        //[1.2	得到正则表达式]
        public List<SYS_RegularExpression> getRegularExpression(string pid)
        {
            return PWDB.SYS_RegularExpression.ToList();
        }
        //-
    }
  }